@font-face {
  src: local('SimSun'), local('sans-serif');
  font-family: 'quotation-mark';
  unicode-range: U+2018-201F;
}

html {
  --color-arona-blue: #3f88f2;
  --color-text-main: #333;
  --color-bottom-action-bar: #fff;
  --color-body-background: #eee;
  --color-button-background: #3f88f2;
  --color-text-input-field: #f5f5f5;
  --color-sticker-panel: #ffffff;
  --default-font-set: 'Microsoft YaHei', 'PingFang SC', -apple-system, system-ui,
    'Segoe UI', Roboto, Ubuntu, Cantarell, 'Noto Sans', BlinkMacSystemFont,
    'Helvetica Neue', 'Hiragino Sans GB', Arial, sans-serif;

  --color-background-warning: #fff5e6;
  --color-background-success: #ecf3fe;
  --color-background-error: #ffe0e0;
  scroll-padding-top: 4rem;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  transition: background-color 0.375s ease-in-out;
  box-sizing: border-box;
  background-color: var(--color-body-background);
  font-family: var(--default-font-set);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

//noinspection CssOverwrittenProperties
#app {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
}

.vertical-grid {
  grid-gap: 1rem;
  display: grid;
  grid-auto-flow: row;
}

.grid-auto-resize {
  grid-template-rows: min-content;
}

.shadow-near {
  box-shadow: 0.1rem 0.1rem 0.2rem rgba(0, 0, 0, 0.02);
}

.shadow-far {
  box-shadow: 0.2rem 0.2rem 0.5rem rgba(0, 0, 0, 0.12);
}

.shadow-farther {
  box-shadow: 0.2rem 0.2rem 1rem rgba(0, 0, 0, 0.12);
}

.center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.fill-width {
  width: 100%;
}

.fill-screen {
  flex: 1;
}

.flex-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flex-horizontal {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.rounded-small {
  border-radius: 0.5rem;
  -webkit-border-radius: 0.5rem;
}

.rounded-medium {
  border-radius: 1rem;
  -webkit-border-radius: 1rem;
}

.rounded-large {
  border-radius: 2rem;
  -webkit-border-radius: 2rem;
}

.button {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-button-background);
  padding: 0.5rem 1rem;
}

.explicit-quotation-mark {
  font-family: 'quotation-mark', 'Microsoft YaHei', 'PingFang SC', -apple-system,
    system-ui, -apple-system, 'Segoe UI', Roboto, Ubuntu, Cantarell, 'Noto Sans',
    sans-serif;
}
